<template>
    <div class="modal-box">
        <slot></slot>
    </div>
</template>

<script>
export default {

}
</script>

<style>
.modal-box {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 999;
}
</style>